<template>
  <ShowModal
    :immediate="isShow"
    title="审批提示"
    content-width="100%"
    content="当前审核已被审核,去看看其他的申请吧~"
    :show-cancel="false"
    :is-mask-click="false"
    confirm-text="返回审核列表"
    @confirm="emit('back')"
  />
</template>

<script setup lang="ts">
  import ShowModal from '@/components/ShowModal/index.vue';
  import { ref } from 'vue';

  const emit = defineEmits(['back']);

  const isShow = ref(false);
  const options = uni.getEnterOptionsSync();

  if (Number(options.scene) === 1043) {
    isShow.value = true;
  }
</script>

<style lang="scss" scoped></style>
